<!-- 页面设计已注册版权，部分或全部盗用，一经发现将由【正途知识产权代理（上海）有限公司】律师团队依法维权，特此公告； -->
<html lang="zh-CN"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$theme['title']}</title>
<link href="{$_G['URL']['APP_RESOURCE']}myorder/bootstrap.min.css" rel="stylesheet">
<link href="{$_G['URL']['APP_RESOURCE']}myorder/font-awesome.min.css" rel="stylesheet">
<link href="{$_G['URL']['APP_RESOURCE']}myorder/alongsty.css" rel="stylesheet">
<script type="text/javascript" src="{$_G['URL']['APP_RESOURCE']}myorder/jquery.min.js"></script>
<script type="text/javascript" src="{$_G['URL']['APP_RESOURCE']}myorder/jquery.qrcode.min.js"></script>

<style type="text/css">

 body{ background:#eeeeee;  font-family:"微软雅黑"； }
 input[type="text"],input[type="password"],input[type="date"],input[type="month"],input[type="month"],input[type="time"],input[type="week"],input[type="email"],select{border:none; outline:none; transition:border 0.2s ease-in 0s;  }
 input[type="button"],input[type="submit"]{outline:none;cursor:pointer;border:none;}     input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="email"]:focus,select:focus{border:1px solid #17a862;  }
a:visited{ color:#FFFFFF; text-decoration: none;}
a:link {color:#FFFFFF;text-decoration: none; }
</style>
</head>
  <body>
    <div class="toper navbar-fixed-top" style="background: {$config['formcolortop']}">
        <div class="row color_white ">
          <div class="col-xs-2" style="padding-left:25px;"></div>
          <div class="col-xs-8 text-center font20">我的定单信息 {php echo !empty($theme['USERCOMPANYNAME'])?$theme['USERCOMPANYNAME']:$_G['companyname'];}</div>
          <div class="col-xs-2">
          </div>
        </div>
    </div><!-- toper -->
    <div class="height53"></div>
    <input type="hidden" id="themeid" value="124">
    <input type="hidden" id="groupid" value="">
    <div class=" width100 bg_white" style="padding:5px;">
      {if $showrecord['type']!=9}
        {include file='yxpdd/pddcurrent'}
      {/if}
    </div><!--a-->
    <div class="height10"></div>
    <div class=" width100 bg_white" style="padding:10px;">
        <div class="media">
            <div class="media-left">
              <a href="#"><div class="photo_50"><img src="{$fans['avatar']}" class="img-rounded"></div></a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">{$fans['nickname']}</h4>
              <h4 class="media-heading">{$themyrecord['username']} {$themyrecord['mobile']}</h4>
              {if $showrecord['type']==9}
              <h4 class="media-heading">单独购买</h4>
              {/if}
            </div>
        </div>
    </div>
    <div class=" width100 bg_white border_bottom  bac" style="padding:10px;">
     {if !empty($shopname)}
     <span class=" font16">推荐企业: {$shopname}</span> <br>
     {/if}
     {if !empty($worker['mobile'])}
    <span class=" font16">专属客服: <a href="tel:{$worker['mobile']}"><span style="padding: 0.2rem 0.4rem;color:#000000;">{$worker['username']} {$worker['mobile']}</span></a>  </span>
    {/if}
    </div>
    <div class="height10"></div>
       <div class="metro_container content" style="padding:0;background: #fff">
            </div>
          {if !empty($shoplist)}
          {loop $shoplist $i $row}
            <div class=" width100 bg_white border_bottom bac" style="padding:10px;">
            <span class=" font16  lefts">{$row['name']}</span>
            {if empty($row['addtime'])}
              <span class="font16 rights" style="margin-top:0px;background: {$config['formcolortop']};border-color: {$config['formcolortop']};" onclick="showphoto_time('{php echo $_G['siteroot'].createMobileUrl("myordercheck",array('themeid'=>$theme['id'],'uid'=>$_G['member']['uid']));}')">马上使用</span>
            {else}
              <span class="font10 rights" style="margin-top:0px; background:#969595">已核销:{$row['addtime']} 客服:{$row['workername']} {$row['workermobile']}</span>
            {/if}
            </div>
          {/loop}
          {else}
            <div class=" width100 bg_white border_bottom bac" style="padding:10px;">
            <span class=" font16  lefts">{php echo empty($theme['jubf'])?mb_substr($theme['title'],0,12,'utf-8'):$theme['jubf'];}</span>
            {if empty($shop['addtime'])}
              <span class="font16 rights" style="margin-top:0px;background: {$config['formcolortop']};border-color: {$config['formcolortop']};" onclick="showphoto_time('{php echo $_G['siteroot'].createMobileUrl("myordercheck",array('themeid'=>$theme['id'],'uid'=>$_G['member']['uid']));}')">马上使用</span>
            {else}
              <span class="font10 rights" style="margin-top:0px; background:#969595">已核销:{$shop['addtime']} 客服:{$shop['workername']} {$shop['workermobile']}</span>
            {/if}
            </div>          
          {/if}
<!-- <div class="height10"></div>
        <div class="metro_container content" style="padding:0;background: #fff">
            </div> -->
<!--         <div class=" width100 bg_white border_bottom" style="padding:10px;">
        <span class=" font16">己推荐:0人 获得佣金:￥0</span>
    </div> -->
    <div class=" width100 bg_white" style="padding:10px;">

		
    <div class="height10"></div>
    <div class="width100 bg_white" style="padding:10px;height:220px;text-align: center;">
        <img style="width:60%;" src="{$_G['URL']['QRURLNEW']}{php echo urlencode($_G['siteroot'].createMobileUrl("myordercheck",array('themeid'=>$theme['id'],'uid'=>$_G['member']['uid'])));}">
    </div>
    <div class="width100 bg_white" style="padding:10px;height:30px;text-align: center;">
        请找工作人员扫描此二维码
    </div>       

    </div><!--a-->
       <div class="height10" style="margin-bottom: 5rem;"></div>
    
    
    <div class=" width100 bg_white navbar-fixed-bottom" style="padding:10px;">
        <div class="row" style="width:100%; margin:0 auto;">
            <div class="col-xs-6" style="text-align: center;">
                <a   class="btn btn-lg btn-success btn-group-justified verifygroup" style="background: {$config['formcolortop']};border-color: {$config['formcolortop']};" href="/{php echo  createMobileUrl("index",array('themeid'=>$theme['id']));}" style="color:#fff">返回活动页面</a>
            </div>
            <div class="col-xs-6" style="text-align: center;">
                <a   class="btn btn-lg btn-success btn-group-justified verifygroup" style="background: {$config['formcolortop']};border-color: {$config['formcolortop']};" href="/{php echo  createMobileUrl("mypay",array('themeid'=>$theme['id']));}" style="color:#fff">查看支付凭证</a>
            </div>
         
        </div>
    </div>
<script>;</script></body>

<!--下面弹出二维码-->
<div class="showphoto_timebg" onclick="closephoto_time()"></div>
<div class="showphoto_timecontent">
	<div class="content" id="qrcodeCanvas"></div><br /><br />请找工作人员扫描此二维码
</div>
<style>

.lefts{float: left;}
.rights{float: right;
    margin-right: -3px;
    margin-top: 5px;
    background: green;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;}
.bac{position: relative;overflow: hidden;}
 #feedback{
            height: 200px;
            text-align: center;
            height: 160px;
            border: 1px solid silver;
            border-radius: 3px;
        }
        #feedback img{
            margin:3px 10px;
            border: 1px solid silver;
            border-radius:3px;
            padding: 6px; 
            width: 35%;
            height: 85%;
        }
        #feedback p{
            font-family: "微软雅黑";
            line-height: 120px;
            color: #ccc;
        }
        .file {
            position: relative;
            display: inline-block;
            border: 1px solid #1ab294;
            border-radius: 4px;
            padding: 8px 16px;
            overflow: hidden;
            color: #fff;
            text-decoration: none;
            text-indent: 0;
            line-height: 20px;
            color: #1ab294;
            }
            
            .file input {
            position: absolute;
            font-size: 100px;
            right: 0;
            top: 0;
            opacity: 0;
            }
            .box{
            margin-top: 10px;
            text-align: center;
            }
            .box a{
            margin-left: 10px;
            }

.showphoto_timebg {position: fixed; width: 100%; height: 100%; z-index: 10001; left: 0; top: 0; background: rgba(0,0,0,.7); display: none;}
.showphoto_timecontent {position: fixed; width: 80%; height: auto; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); display: none; z-index: 10002; text-align: center; color: #fff; line-height: 28px;}
#qrcodeCanvas {display: inline-block;}
#qrcodeCanvas canvas {display: inline-block; outline: 12px solid #fff;}
</style>

<script type="text/javascript">



var is_show = 0;
function showphoto_time(url){
	$(".showphoto_timebg").show();
	$(".showphoto_timecontent").show();

	if(is_show == 1){
		return true;
	}
	is_show = 1;

	var s = $('.showphoto_timecontent').outerWidth();
	jQuery('#qrcodeCanvas').qrcode({
		width : s, 
		height : s, 
		text : url,
	});	
}
function closephoto_time(){
	$(".showphoto_timebg").hide();
	$(".showphoto_timecontent").hide();
}

</script>
	 <style>
 .dymod_tips_popup {
	opacity: 0;
	-webkit-transition: all linear 0.2s;
	z-index: -1;
	position: fixed;
	top: 30%;
	left:12%;
	box-sizing: border-box;
	width: 75%;
	padding: 15px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 10px;
	font-size: 12px;
	background-color: rgba(0,0,0,0.83)
}
.dyJ_tips_content{
	text-align:center;
	color: #fff;
}

.dymod_tips_popup.dymod_tips_popup_show {
	opacity: 1;
	z-index: 10000
}
 
 
 </style>
     <div id="pup" class="dymod_tips_popup">
       <div class="dymod_tips_cnt">
         <div class="dyJ_tips_content"  id="info"></div>
       </div>
       <div class="dymod_tips_ft">
       </div>
     </div>
<script>
function doing(content){
	$("#info").html(content);
	$("#pup").show();
	$("#pup").addClass("dymod_tips_popup_show");
}

function end(){
	$("#pup").removeClass("dymod_tips_popup_show");
}


function tips(content){
	$("#info").html(content);
	$("#pup").addClass("dymod_tips_popup_show").show();
	setTimeout('$("#pup").removeClass("dymod_tips_popup_show")',2500); 
	
}

function tips2(info,url) {
	tips(info);
    setTimeout("window.location.href='" + url + "'", 2500);
  }
</script>	
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<!-- <script type="text/javascript">
	window.sysinfo = window.sysinfo || {"uniacid":5,"acid":"5","siteroot":"http:\/\/zchsh.zhikainet.top\/","siteurl":"http:\/\/zchsh.zhikainet.top\/app\/index.php?i=5&c=entry&themeid=124&do=order&m=xxhd_tuoke","attachurl":"http:\/\/zchsh.zhikainet.top\/attachment\/","cookie":{"pre":"9d83_"},"openid":"oyfmus5V9s5SZLX3DamKMkaIJNzo","MODULE_URL":"http:\/\/zchsh.zhikainet.top\/addons\/xxhd_tuoke\/"} || {};
	
	// jssdk config 对象
	jssdkconfig = {"appId":"wx253058299acd2c5e","nonceStr":"m74a77GjXcYCpV4q","timestamp":"1539492214","signature":"13f877847db06ba1c18a2f13e69e5877cd6cbbad"} || {};
	
	// 是否启用调试
	jssdkconfig.debug = false;
	
	jssdkconfig.jsApiList = [
		'checkJsApi',
		'onMenuShareTimeline',
		'onMenuShareAppMessage',
		'onMenuShareQQ',
		'onMenuShareWeibo',
		'hideMenuItems',
		'showMenuItems',
		'hideAllNonBaseMenuItem',
		'showAllNonBaseMenuItem',
		'translateVoice',
		'startRecord',
		'stopRecord',
		'onRecordEnd',
		'playVoice',
		'pauseVoice',
		'stopVoice',
		'uploadVoice',
		'downloadVoice',
		'chooseImage',
		'previewImage',
		'uploadImage',
		'downloadImage',
		'getNetworkType',
		'openLocation',
		'getLocation',
		'hideOptionMenu',
		'showOptionMenu',
		'closeWindow',
		'scanQRCode',
		'chooseWXPay',
		'openProductSpecificView',
		'addCard',
		'chooseCard',
		'openCard'
	];
	
	wx.config(jssdkconfig);
	
</script> 
    <script>

        var shareData = {
            title: '',
            desc: '',
            imgUrl: '',
            link: ''
        };

        wx.ready(function () {
        	        	wx.hideOptionMenu();
        	        	
            wx.onMenuShareAppMessage({
                title: shareData.title,
                desc: shareData.desc,
                link: shareData.link,
                imgUrl: shareData.imgUrl,
                trigger: function (res) {
                },
                success: function (res) {
                	                		domakesharenum();
                	                },
                cancel: function (res) {
                },
                fail: function (res) {
                }
            });

            wx.onMenuShareTimeline({
                title: shareData.title,
                link: shareData.link,
                imgUrl: shareData.imgUrl,
                success: function () {
            		                  		domakesharenum();
                 	                },
                cancel: function () {
                }
            });
        	
        });

        wx.error(function (res) {
        });
        
        
        function domakesharenum(){

       	 $.ajax({
               type: 'GET',
               dataType : "json",
               url: './index.php?i=5&c=entry&themeid=124&do=share&m=xxhd_tuoke',
               success: function(data) {
            	 data = data.message;
               	 if(data.errcode == 0){
               		               	 }else{
               		 tips(data.msg);
               	 }
               },
               error: function() {
               	// alert('错误');
               }
           });
       	 

       }

    </script>  -->
</html>